package com.masterrabbit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.masterrabbit.common.core.annotation.Excel;
import com.masterrabbit.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 user_vehicles
 * 
 * @author laotu
 * @date 2025-03-22
 */
public class UserVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID（主键） */
    private Long vehicleId;

    /** 编号（车牌号） */
    @Excel(name = "编号", readConverterExp = "车=牌号")
    private String licensePlate;

    /** 车辆类型（字典） */
    @Excel(name = "车辆类型", readConverterExp = "字=典")
    private Long vehicleType;

    /** 品牌(字典) */
    @Excel(name = "品牌(字典)")
    private Long brand;

    /** userID（用户） */
    @Excel(name = "userID", readConverterExp = "用=户")
    private Long userId;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String ownerName;

    /** 电话号 */
    @Excel(name = "电话号")
    private String phoneNumber;

    /** 图片表ID（关联图片表ID） */
    @Excel(name = "图片表ID", readConverterExp = "关=联图片表ID")
    private Long imageId;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;

    /** status */
    @Excel(name = "status")
    private Long status;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }

    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }

    public void setVehicleType(Long vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public Long getVehicleType() 
    {
        return vehicleType;
    }

    public void setBrand(Long brand) 
    {
        this.brand = brand;
    }

    public Long getBrand() 
    {
        return brand;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setOwnerName(String ownerName) 
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName() 
    {
        return ownerName;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }

    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("licensePlate", getLicensePlate())
            .append("vehicleType", getVehicleType())
            .append("brand", getBrand())
            .append("userId", getUserId())
            .append("ownerName", getOwnerName())
            .append("phoneNumber", getPhoneNumber())
            .append("imageId", getImageId())
            .append("isDefault", getIsDefault())
            .append("status", getStatus())
            .toString();
    }
}
